/******************************************************************************
 * $Id: misc.h,v 1.5 2004/09/22 01:14:28 jimb Exp $
 * @file
 * @author  Jim Brooks http://www.jimbrooks.org
 ******************************************************************************/

#ifndef MISC_H
#define MISC_H

gboolean
Lock( lock_t* pLock ); /* ### MUST BE A STATIC VAR ### */

void
Unlock( lock_t* pLock ); /* ### MUST BE A STATIC VAR ### */

void
ScheduleIdleCallback( guint*      pCbId,
                      GtkFunction func,
                      gpointer    pData );

void
UnscheduleIdleCallback( guint* pCbId );

#endif /* MISC_H */
